VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "MockFixture"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit

Private mCalled As Boolean
Private mRaises As Boolean
Private mTime As Integer

Public Sub forward(notify As Object)
mCalled = True
mTime = mTime + 1
If mRaises Then
    Err.Raise 1001
End If
End Sub

''
Public Property Get elapsedTime() As Double
elapsedTime = mTime
End Property

Public Property Get called() As Boolean
called = mCalled
End Property

Private Sub Class_Initialize()
mCalled = False
mRaises = False
mTime = 0
End Sub


Public Property Let raises(value As Boolean)
mRaises = value
End Property
